package com.hzspace.exception;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.servlet.ModelAndView;

/**
 * @Author: LiuHao
 * @Descirption:
 * @Date: 2020/2/28_22:28
 */
@Controller
public class HelloController {

    @GetMapping("/hello")
    public Object exception(){
        throw new RuntimeException();
    }


}
